package com.atguigu.srb.core.mapper;

import com.atguigu.srb.core.pojo.entity.User;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<User> {



    @Select("SELECT * FROM user WHERE username = #{name} ANd is_deleted = 0")
    public User findUserByName(@Param("name") String username);

}
